//
//  PerWalletTableViewCell.m
//  sklive
//
//  Created by Macx on 2017/6/23.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "PerWalletTableViewCell.h"

@implementation PerWalletTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.moneyImg.frame = CGRectMake(SW(20), (SW(8)-SW(15))/2, SW(15), SW(15));
    
    CGSize size = [LZCTools textSizeWithText:@"测试字数测" font:kUHSystemFontWithSize(14)];
    self.money.frame = CGRectMake(SW(15)+20, self.moneyImg.centerY-size.height/2, SCREEN_WIDTH/2, size.height);
    
    self.moneyBtn.frame = CGRectMake(SCREEN_WIDTH-SW(20)-size.width, self.moneyImg.centerY-size.height/2-5, size.width, size.height+10);
    self.moneyBtn.titleLabel.font = kUHSystemFontWithSize(14);
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
